package lshTest;

import java.sql.SQLException;

import com.google.common.hash.Hashing;

import lsh.LSH;

public class SimpleTest {

	/**
	 * @param args
	 * @throws SQLException 
	 * @throws ClassNotFoundException 
	 */
	public static void main(String[] args) throws ClassNotFoundException, SQLException {
		System.out.println("test");
		
		LSH lsh=new LSH(3,5, 6, "jdbc:mysql://localhost/lsh");
		lsh.put(1,"test test test test");
		lsh.put(2,"asdf asdf asdf asdf asdfasdf");
		lsh.put(3,"Dette er en prove");
		
		System.out.println(lsh.query("asdf asdf asdf asdf asdfasdf")[0]);
		


	}

}
